 /**
 * @file Accessory.c
 * @author liqiang (liqiang@hacint.com.cn)
 * @brief 
 * @version 1.0.0
 * @date 2023-08-18
 * 
 * 
 */
 #include "Accessory.h"
#include "DataTable.h"





/**
 * @brief 附件扫描程序
 * 
 */

void ScanAccessory(void){

    unsigned    short   spin=0  ;/*开始针*/
    unsigned    short   epin=0  ;/*终止针*/
    unsigned    short   index=0 ;/*附件序号*/
    unsigned    short   count=0 ;/*附件数量*/
    
    
 
 
 
    CommData   *        pcommdatastr   ;

    pcommdatastr    =   GetCommDataAdr();
    if(1){
        index   =   GetAccessoryArrayIndex();
        spin    =   pcommdatastr->OneLoopDatas[index].StartPinNum; 
        epin    =   pcommdatastr->OneLoopDatas[index].EndPinNum ;

        if(1){
            
        }else{
            

        }


    }else{


    } 
}
/**
 * @brief check spin in the accessory arry
 * 
 * @param spin  start pin
 */
unsigned    char    AccessoryScanCheck(unsigned short   spin){


}





